The Larch / Smalltalk Interface Speci cation

نویسندگان

  • Yoonsik Cheon
  • Gary T. Leavens
چکیده

Object-oriented programming languages, such as Smalltalk, help one to build reusable program modules. The reuse of program modules requires adequate documentation | formal or informal. Larch/Smalltalk is a formal speciication language for specifying such reusable Smalltalk modules. Larch/Smalltalk rmly separates speciication from implementation. In Larch/Smalltalk the unit of speciication is an abstract data type, which is an abstraction of the behavior produced by one or more Smalltalk classes. A type can be a subtype of other types, which allows types to be organized based on speciied behavior, and also allows for inheritance of their speciications. Larch/Smalltalk specii-cations are developed using speciication tools integrated in the Smalltalk programming environment.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Overview of Larch/C++: Behavioral Specifications for C++ Modules

An overview is presented of the behavioral interface speci cation language Larch/C++. The features of Larch/C++ used to specify the behavior of C++ functions and classes, including subclasses, are described, with examples. Comparisons are made with other object-oriented speci cation languages. An innovation in Larch/C++ is the use of examples in function speci cations.

متن کامل

A Quick Overview of Larch/C++

This paper gives a quick overview of Larch/C++, an interface speci cation language for C++. Through examples, we explain declarations, function speci cations, class speci cations, and template speci cations. An extended example is given in the last section. The reader is assumed to have some familiarity with C++. The reader should have some familiarity with the idea of formal speci cation, but ...

متن کامل

An Overview of Larch/C++: Behavioral Speci cations for C++ Modules

An overview is presented of the behavioral interface speci cation language Larch/C++. The features of Larch/C++ used to specify the behavior of C++ functions and classes, including subclasses, are described, with examples. Comparisons are made with other object-oriented specication languages. An innovation in Larch/C++ is the use of examples in function speci cations.

متن کامل

On the Language Design and Semantic Foundation of LCL a Larch C Interface Speci cation Language

On the Language Design and Semantic Foundation of LCL a Larch C Interface Speci cation Language The specialization of a speci cation language to a particular programming lan guage is an important characteristic of module interface speci cation languages MISL s The only well developed MISL s are the Larch interface languages and among these LCL a Larch C interface speci cation language would see...

متن کامل

Protective Interface Speci cations

The interface speci cation of a procedure describes the procedure s behavior using pre and postconditions These pre and postconditions are written using various functions If some of these functions are partial or underspeci ed then the procedure speci cation may not be well de ned We show how to write pre and postcondition speci cations that avoid such problems by having the precondition protec...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994